package com.atguigu.gmall.seckill;

import com.atguigu.gmall.common.rabbit.anno.EnableRabbitTemplate;
import com.atguigu.gmall.seckill.properties.XXLJobProperties;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication
@MapperScan(basePackages = "com.atguigu.gmall.seckill.mapper")
//@EnableScheduling
@EnableConfigurationProperties(value = XXLJobProperties.class)
@EnableRabbitTemplate
@EnableFeignClients(basePackages = "com.atguigu.gmall.feign.order")
public class SeckillApplication {

    public static void main(String[] args) {
        SpringApplication.run(SeckillApplication.class , args) ;
    }

}
